package com.qqt.csr.common.exception;

import java.io.Serial;

public class BizException extends BaseException {
    @Serial
    private static final long serialVersionUID = -7486102507608496915L;

    public BizException(Integer code, String message) {
        super(code, message);
    }

    public BizException(String message) {
        super(message);
    }

    public BizException(StatusCode code) {
        super(code, code.getMessage());
    }

    public BizException(StatusCode code, String message) {
        super(code, message);
    }

}
